*Paper: Fiscal Rules, Corruption and Electoral Accountability - Replication Files

clear all
cap log close 
set more off


**Global files
global folder "/Users/tommasogiommoni/Dropbox/Determinants of corruption/Stability pact and corruption/Replication files JOP"


********************************************************************************
****----						Dataset open 					    	----**** 
********************************************************************************

use "$folder/Data/Figure1.dta", clear

********************************************************************************
****----						Analysis 					    		----**** 
********************************************************************************

**-- Total amount

graph bar  UE_funds_spent, over(FURs, relabel(1 "FCRs" 2 "FURs")) graphregion(color(white)) ytitle("Tot EU funds (mil)") ylabel(, angle(horizontal))
gr export "$folder/Figures/Figure1_a.png" , replace 

**-- Amount per capita

graph bar  UE_funds_spent_PC, over(FURs, relabel(1 "FCRs" 2 "FURs")) graphregion(color(white)) ytitle("EU funds (mil) per-capita") ylabel(, angle(horizontal))
gr export "$folder/Figures/Figure1_b.png" , replace 

**-- Amount per GDP

graph bar  UE_funds_spent_overGDP, over(FURs, relabel(1 "FCRs" 2 "FURs")) graphregion(color(white)) ytitle("EU funds (mil) over GDP (mil)") ylabel(, angle(horizontal))
gr export "$folder/Figures/Figure1_c.png" , replace 

**-- Amount over no. local politicians

graph bar  UE_funds_spent_overPoliticians, over(FURs, relabel(1 "FCRs" 2 "FURs")) graphregion(color(white)) ytitle("EU funds (mil) over no. local politicians") ylabel(, angle(horizontal))
gr export "$folder/Figures/Figure1_d.png" , replace 

